Mewz\WCAS\Compatibility\Classes\WCCartStockReducer S

Total Complexity 47
Dependencies 8
Dependents 2
Total lines 326
Lines of code 175
Logical lines of code 116
Comment lines 43
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
product_attribute_stock_limits()
A
48 10 32
is_expired()
A
54 8 20
attribute_stock_cart_validation_items()
S
57 6 17
any_product_match_data()
S
61 4 12
get_virtual_stock_available()
S
62 3 12
woocommerce_init()
S
53 2 21
get_item_managing_stock()
S
65 2 9
replace_stock_pending_text()
S
65 2 9
get_attribute_stock_virtual_product_stock_quantity()
S
65 2 10
enable_attribute_stock_override()
S
81 1 3
disable_attribute_stock_override()
S
81 1 3
clear_items_cache()
S
81 1 3
add_cart_item()
S
70 1 6
get_availability_text()
S
70 1 6
get_availability_class()
S
70 1 6
quantity_input_args()
S
82 1 3
product_available_variation()
S
82 1 3